package com.algorithm.Asserts;

public class Asserts {

    public static void test(boolean value) {
        try {
            if (!value) throw new IllegalArgumentException("测试不通过");
        }catch (Exception e) {
            e.printStackTrace();
        }
    }
}
